package com.elephant.bean.selfBeanFactoryPostProcessor;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author 林
 * @create 2025-05-29 17:35
 */
@Component
public class TestBean {

	@Bean
	public String bean1(){
		return "测试一下bean实例";
	}

	@Bean
	public String bean2(){
		return "测试一下bean实例";
	}

	@Bean
	public TestComponentScan TestComponentScan(){
		return new TestComponentScan();
	}
}
